import axios from "axios";
//请求评论
export const getComment = () => axios.get("/api/students/getstulist");

//添加评论
export const addComment = (content, name) =>
  axios.post("/api/students/addlist", {
    content,
    name,
  });
//删除评论
export const delComment = (id) => axios.get(`/api/students/del?id=${id}`);
